package com.jianjian.Method;

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;

/**
 * @author Zsir
 * @create 2021-12-12 18:30
 */
public class testMethod {

    @PostConstruct
    public void init(){
        System.out.println("初始化方法...");
    }

    @PreDestroy
    public void destroy(){
        System.out.println("销毁方法....");
    }

}
